Yay_Currency\Helpers\Helper D

Total Complexity 170
Dependencies 4
Dependents 38
Total lines 1,049
Lines of code 906
Logical lines of code 323
Comment lines 5
Methods 55
Properties 2

Methods 55

Method Rating Maintainability Complexity Lines of code
update_exchange_rate_currency()
A
47 12 34
update_post_meta_currency()
A
50 12 23
converted_currencies()
A
45 11 36
currency_code_by_country_code()
A
27
1 168
get_list_orders_not_revert_to_base()
A
53 9 22
order_match_reverted()
A
51 8 28
get_rest_route_via_rest_api()
S
62 7 11
get_flag_by_country_code()
S
56 5 19
revert_product_loop_to_default()
S
50 4 30
revert_tax_loop_to_default()
S
50 4 30
revert_coupon_loop_to_default()
S
51 4 29
convert_currencies_data()
S
50 4 29
calculate_order_rate()
S
61 5 12
get_currencies_post_type()
S
52 4 24
create_new_currency()
S
53 4 23
detect_checkout_blocks_page()
S
63 5 10
count_display_elements_in_switcher()
S
66 5 8
compatible_classes()
S
44 1 55
revert_order_stats_to_default()
S
53 3 23
get_list_order_ids()
S
48 2 36
change_number_decimals()
S
63 4 10
get_yay_currency_order_rate()
S
61 3 12
get_current_url()
S
61 3 11
get_default_currency()
S
50 1 31
change_existing_currency_symbol()
S
68 3 7
change_thousand_separator()
S
63 3 10
change_decimal_separator()
S
63 3 10
check_custom_orders_table_usage_enabled()
S
67 3 8
sanitize_array()
S
68 3 7
get_yay_currency_by_currency_code()
S
65 2 9
is_method_executed()
S
71 2 5
get_instance_classes()
S
66 2 8
change_currency_position()
S
71 2 6
update_currency_meta()
S
68 2 7
default_decimal_separator()
S
75 2 4
delete_yay_currencies_transient()
S
74 2 5
convert_orders_to_base()
S
68 2 7
backend_classes()
S
64 1 11
frontend_classes()
S
67 1 9
create_nonce_field()
S
65 1 8
sanitize()
S
79 1 3
engine_classes()
S
70 1 7
get_yay_currencies_transient()
S
76 1 4
appearance_classes()
S
70 1 7
get_current_theme()
S
76 1 4
get_woo_current_settings()
S
64 1 10
get_post_type()
S
80 1 3
get_exchange_rates()
S
70 1 6
woo_list_currencies()
S
73 1 5
default_price_num_decimals()
S
75 1 4
use_yay_currency_params()
S
75 1 4
get_sync_currencies()
S
69 1 6
default_currency_code()
S
76 1 4
default_thousand_separator()
S
80 1 3
__construct()
S
98 1 1